package bom.dao.organization;

import bom.dao.GenericDao;
import bom.pojo.organization.Tree;
import bom.pojo.organization.User;
import bom.pojo.query.QueryTree;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: Fancyears·Maylos·Malvis
 * @Description:
 * @Date: Created in  2018/11/27 15:10
 * @Modified By:
 */

@Mapper
public interface TreeDao extends GenericDao<Tree, QueryTree> {
    /**
     * 功能描述：加载用户的菜单树的数据
     *
     * @param user
     * @return
     */
    List<Tree> loadUserTree(User user);
}